package cn.itcast.tanhua.mytanhuasso;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

/**
 * springboot启动
 * @author 郭文亮
 * @since 2021/11/22 19:04
 */
@MapperScan("cn.itcast.tanhua.mytanhuasso.mapper")
@SpringBootApplication(exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class}) //排除mongo的自动配置
public class MyTanhuaSsoApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyTanhuaSsoApplication.class, args);
    }

}
